package cn.kk.pzhu.gpaweb.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author KK
 * @CreateTime 2022-08-29
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Student implements Serializable {

    /**
     * id
     */
    private int id;

    /**
     * id
     */
    private String stuId;

    /**
     * 姓名
     */
    private String name;

    /**
     * 年级
     */
    private String cla;

    /**
     * 专业
     */
    private String major;

    /**
     * 学科
     */
    private String subject;

    /**
     * 学分
     */
    private String credit;

    /**
     * 绩点
     */
    private String grade;

    /**
     * 绩点
     */
    private String grade_one;

    /**
     * 开课学期
     */
    private String time;

    @TableField(exist = false)
    private String classes;

    public Student(String stuId, String name, String subject, String credit, String grade, String time, String grade_one) {
        this.stuId = stuId;
        this.name = name;
        this.subject = subject;
        this.credit = credit;
        this.grade = grade;
        this.time = time;
        this.grade_one = grade_one;
    }
}
